.main-container {
  background: #fff;
  padding: 10px;
  height: 100%;
  width: 100%;

  .main-title {
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #e3e3e3;
  }

  .main-content {
    margin-top: 10px;

    .main-title {
      border-bottom: none;
    }
  }

  .content-top-bar {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;

    .table-btn-group {
      display: flex;
      button {
        margin-left: 10px;
      }
    }
  }
}
.main-content-wrap {
  display: flex;
  width: 100%;
  min-height: 100%;
}

.left-panel {
  width: 200px;
  height: calc(100vh - 195px);
  overflow-y: auto;
  margin: 20px 0 10px 18px;
  background: #fff;
  .custom-node {
    display: inline-block;
    padding: 4px;
    width: 92%;

    &.active,
    &:hover {
      background-color: #ededed;
      .tree-btns {
        display: block;
      }
    }
  }

  .tree-btns {
    display: none;
    float: right;

    a {
      color: #3f51b5;
      font-size: 13px;
      margin-right: 4px;
    }
  }
}

.right-panel {
  flex: 1;
  margin: 20px 10px;
  height: calc(100vh - 195px);
  overflow-y: auto;
  .right-top-box {
    background: #EEEEEE;
    .content-top-bar {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      .right-ctrl-box {
        > div {
          display: inline-block;
        }
      }
    }

    .right-content {
      display: flex;
      flex-wrap: wrap;
      .card-box {
        width: calc(50% - 20px);
        margin: 0 10px 20px 10px;
        display: flex;
        flex-direction: column;
        .card {
          width: 100%;
          margin-bottom: 10px;
          flex: 1;
        }
      }
      .card {
        width: calc(50% - 20px);
        margin: 0 10px 20px 10px;
      }
      .row-card {
        width: calc(100% - 10px);
        margin: 0 10px 20px 10px;
      }

      .card-search-wrap {
        display: flex;
        div {
          margin-left: 10px;
          line-height: 32px;
        }

        .search-icon {
          color: #1A7CEE;
          font-size: 20px;
          cursor: pointer;
        }

      }

      ::ng-deep .ant-card-head {
        background: #F9F9F9;
        color: #333333;
        height: 60px;
      }
      ::ng-deep .ant-form-item {
        margin-bottom: 0;
      }
      ::ng-deep .ant-form-item-control {
        line-height: 32px;
      }
    }
  }
  iframe {
    width: 100%;
    height: calc(100vh - 200px)
  }
}
